|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.NegotiationSession
public class NegotiationSession
This is a class which manages all the negotiation session pertinent information to a single agent.
| Constructor Summary | |
|---|---|
NegotiationSession(UtilitySpace utilitySpace,
Timeline timeline)
Create a negotiation session which is used to keep track of the negotiation state. |
|
NegotiationSession(UtilitySpace utilitySpace,
Timeline timeline,
OutcomeSpace outcomeSpace)
Create a negotiation session which is used to keep track of the negotiation state. |
|
| Method Summary | |
|---|---|
double |
getDiscountedUtility(Bid bid,
double time)
Returns the discounted utility of a bid given the bid and the time at which it was offered. |
double |
getDiscountFactor()
Returns the discount factor of the utilityspace. |
Domain |
getDomain()
Returns the negotiation domain. |
java.util.ArrayList<Issue> |
getIssues()
|
BidDetails |
getMaxBidinDomain()
Returns the best bid in the domain. |
BidDetails |
getMinBidinDomain()
Returns the worst bid in the domain. |
BidHistory |
getOpponentBidHistory()
Returns the bidding history of the opponent. |
OutcomeSpace |
getOutcomeSpace()
Returns the space of possible outcomes in the domain. |
BidHistory |
getOwnBidHistory()
Returns the bidding history of the agent. |
double |
getTime()
Returns the normalized time (t = [0,1]) |
Timeline |
getTimeline()
|
UtilitySpace |
getUtilitySpace()
Returns the utilityspace of the agent. |
void |
setOutcomeSpace(OutcomeSpace outcomeSpace)
Method used to set the outcomespace. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NegotiationSession(UtilitySpace utilitySpace,
Timeline timeline)
utilitySpace - of the agent.timeline - of the current negotiation.
public NegotiationSession(UtilitySpace utilitySpace,
Timeline timeline,
OutcomeSpace outcomeSpace)
utilitySpace - of the agent.timeline - of the current negotiation.outcomeSpace - representation of the possible outcomes.| Method Detail |
|---|
public BidHistory getOpponentBidHistory()
public BidHistory getOwnBidHistory()
public double getDiscountFactor()
public java.util.ArrayList<Issue> getIssues()
public Timeline getTimeline()
public double getTime()
public Domain getDomain()
public UtilitySpace getUtilitySpace()
public OutcomeSpace getOutcomeSpace()
public void setOutcomeSpace(OutcomeSpace outcomeSpace)
outcomeSpace - to be set.public BidDetails getMaxBidinDomain()
public BidDetails getMinBidinDomain()
public double getDiscountedUtility(Bid bid,
double time)
bid - which discount utility is requested.time - at which the bid was offered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||